package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.EmployeeBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IEmployeeMapper extends BaseMapper<EmployeeBean> {
    public void addMore(@Param("deptId") Integer deptId, @Param("emList") List<EmployeeBean> emList);

    public IPage<EmployeeBean> findByItem(
            Page page, @Param("deptName") String deptName, @Param("name") String name);


}
